﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Admin.CYT369.Com.WebBase;

namespace news.admin.cyt369.com.Areas.NewsAdmin.Controllers
{
    public partial class DocTypesController
    {
        
        [HttpGet]
        public JsonResult GetDocumentTypeByID(long id)
        {
            var category = news.admin.cyt369.com.services.Services.DocTypeService.Instance.GetDocumentTypeByID(id);

            return DefaultJson(category);
        }

    }
}